<template>
  <!--供应商-->
  <div id="SupplierDetails">
    <g-details :detailData="data.detailData" :inputConfig="inputConfig" ref="input"></g-details>
  </div>
</template>

<script>
import baseMixin from "@/mixins/BaseMixin";

export default {
  name: "SupplierDetails",
  mixins: [baseMixin],
  props: {
    data: {
      type: Object
    }
  },
  data() {
    return {
      inputConfig: [
        {
          type: "input",
          label: this.$t('config.supplier'),
          disabled: true,
          props: "supplierkey",
        },
        {
          type: "input",
          label: this.$t('in.suppliername1'),
          disabled: !this.$route.query.newFlag,
          props: "suppliername",
        },
        {
          type: "input",
          label: this.$t('in.supplierAddress', { no: 1 }),
          disabled: true,
          props: "",
        },
        {
          type: "input",
          label: this.$t('in.supplierAddress', { no: 2 }),
          disabled: true,
          props: "",
        },
        {
          type: "input",
          label: this.$t('config.city'),
          disabled: true,
          props: "",
        },
        {
          type: "input",
          label: this.$t('config.provice'),
          disabled: true,
          props: "",
        },
        {
          type: "input",
          label: this.$t('config.postcode'),
          disabled: true,
          props: "",
        },
        {
          type: "input",
          label: this.$t('bill.country'),
          disabled: true,
          props: "",
        },
        {
          type: "input",
          label: this.$t('config.phone'),
          disabled: true,
          props: "",
        }
      ],
    }
  },
  methods: {},
  mounted() {
  },
  watch: {},
}
</script>

<style scoped>

</style>
